/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2023/4/20 23:33:03
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 支付宝支付配置
    /// </summary>
    public partial class CoreCmsAlipayConfig
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsAlipayConfig()
        {
        }
		
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
		
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
		
        /// <summary>
        /// 支付宝开放平台AppId
        /// </summary>
        [Display(Name = "支付宝开放平台AppId")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String appId  { get; set; }
        
		
        /// <summary>
        /// 支付宝公钥
        /// </summary>
        [Display(Name = "支付宝公钥")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        [StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String publicKey  { get; set; }
        
		
        /// <summary>
        /// 应用私钥
        /// </summary>
        [Display(Name = "应用私钥")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        [StringLength(maximumLength:2000,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String privateKey  { get; set; }
        
		
        /// <summary>
        /// 服务网关地址
        /// </summary>
        [Display(Name = "服务网关地址")]
		
        
        
        [StringLength(maximumLength:100,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String serverUrl  { get; set; }
        
		
        /// <summary>
        /// 签名类型
        /// </summary>
        [Display(Name = "签名类型")]
		
        
        
        [StringLength(maximumLength:10,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String signType  { get; set; }
        
		
        /// <summary>
        /// 应用公钥证书
        /// </summary>
        [Display(Name = "应用公钥证书")]
		
        
        
        [StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String appPublicCert  { get; set; }
        
		
        /// <summary>
        /// 支付宝公钥证书
        /// </summary>
        [Display(Name = "支付宝公钥证书")]
		
        
        
        [StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String alipayPublicCert  { get; set; }
        
		
        /// <summary>
        /// 支付宝根证书
        /// </summary>
        [Display(Name = "支付宝根证书")]
		
        
        
        [StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String alipayRootCert  { get; set; }
        
		
        /// <summary>
        /// 应用类型
        /// </summary>
        [Display(Name = "应用类型")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        [StringLength(maximumLength:10,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String appType  { get; set; }
        
		
        /// <summary>
        /// 支付宝支付回调通知
        /// </summary>
        [Display(Name = "支付宝支付回调通知")]
		
        
        
        [StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String notifyUrl  { get; set; }
        
		
        /// <summary>
        /// 支付宝退款回调
        /// </summary>
        [Display(Name = "支付宝退款回调")]
		
        
        
        [StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String refundUrl  { get; set; }
        
		
        /// <summary>
        /// 支付跳转地址
        /// </summary>
        [Display(Name = "支付跳转地址")]
		
        
        
        [StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String jumpUrl  { get; set; }
        
		
        /// <summary>
        /// 是否启用
        /// </summary>
        [Display(Name = "是否启用")]
		
        
        
        
        
        public System.Boolean isEnable  { get; set; }
        
		
        /// <summary>
        /// 当前多端默认
        /// </summary>
        [Display(Name = "当前多端默认")]
		
        
        
        
        
        public System.Boolean isDefault  { get; set; }
        
		
    }
}
